using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

namespace CornerMemo
{
    public class MyNewUIForm : UIFormEscape
    {
        public Text tips;

        public override void OnOpen(object userData = null)
        {
            base.OnOpen(userData);
            tips.text = userData switch
            {
                string str => str,
                null => string.Empty,
                _ => tips.text
            };
            
            
        }
    }

}